package com.leo.javase.junit;

import static org.junit.Assert.*;

import org.junit.Test;

public class CalculateTest {

	@Test(expected=ArithmeticException.class)
	public void testAdd() {
		assertEquals(4, Calculate.add(2, 2));
	}

}
